package com.zhida.smartcontrol.pagehome.deviceinfo;

import android.os.Bundle;

import com.zhida.smartcontrol.common.bean.DeviceClassifyBean;
import com.zhida.smartcontrol.common.bean.LampBean;
import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;
import com.zhida.smartcontrol.pagectrl.ProjectListBean;
import com.zhida.smartcontrol.pagectrl.projectdetail.GroupBean;

import java.util.List;

/**
 * author: tanjianpei
 * date: 2019/10/9 009 15:40
 * description:
 */

public class DeviceInfoContract {
    interface View extends BaseView {
        // 显示已安装的设备，调用修改接口
        void showBean(DeviceBean bean);

        // 未安装设备，调用新增设备接口
        void unInstallDevice(String imei, String code);
        void showGroup(GroupBean groupBean);
        void showProject(ProjectListBean projectListBean);
        void showKzq(LampBean lampBean);
    }

    interface Presenter extends BasePresenter<View> {
        void findByQrCode(String imei,String equipmentCode);
        void requestGroup(String projectId,String groupId);
        void requestProject(String projectId);
        void requestKzq(String groupId,String pid);
//        void addFirst(DeviceClassifyBean classifyBean, String name, String imei, String equipmentCode, String manufacturer, String pluginVersion, String transformerRatio, String iccid,String num);
    }
}
